<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<div class="business-manwife">车贷信息</div>
<form class="form-horizontal business-form" id="commentFormd">
<div class="padding-nono">
<input type="hidden" id="zzj_carId" value="${ywBusinessCar.id }"/>
	<table cellpadding="0" cellspacing="0" border="0"
		class="buyinfor-table" id="buyinfor-t">
		<tr>
			<td align="right"><label class="control-label np">贷款银行：</label></td>
			<td ><input id="loanId" name="loanId" type="hidden" /> 
			<input class="form-control" id="loanBank" name="loanBank" onchange="onDkBank()" readonly="readonly" /></td>

			<td align="right"><label class="control-label np">贷款模式：</label></td>
			<td calss="bankshow"><select class="form-control"
				id="loanType" name="loanType" onchange="dkPattern();" disabled="disabled">
					<option class="bank1" value="04" selected="selected">卡贷-平息</option>
					<option class="bank1" value="02">卡贷-高息</option>
					<option class="bank2" value="05">中国银行算法</option>
			</select></td>
		</tr>

		<tr class="usedCar">	
			<td align="right"><label class="control-label np">二手车车龄(月)：</label></td>
			<td><input id="carAge" name="carAge" minlength="1" readonly="readonly"
				maxlength="20" type="number" class="form-control" 
				aria-required="true" placeholder="二手车车龄(必填)" value="0">
			</td>
			<td align="right"><label class="control-label np">二手车估价：</label>
			</td>
			<td><input id="carEstimatePrice" name="carEstimatePrice"
				minlength="1" maxlength="20" type="number"  class="form-control" min="1"
				 placeholder="二手车估价(必填)"></td>
		</tr>

		<tr>
			<td align="right"><label class="control-label np">贷款期限：</label></td>
			<td><mytag:selectTag id="loanMonth" name="loanMonth"
					map="${loanMonthType }" others="class='select-control' required='required' onchange='continuedMonthsWarning();'" /></td>

			<td align="right"><label class="control-label np">购入价：</label></td>
			<td><input id="carPrice" name="carPrice" minlength="1"
				maxlength="20" type="number" readonly="readonly"
				class="form-control" required="" aria-required="true"
				placeholder="汽车价格"></td>
		</tr>

		<tr>
			<!-- <td align="right"><label class="control-label np">银行基准利率：</label></td>
			<td><input id="bankRate" name="bankRate" minlength="1"
				maxlength="20" type="number" class="form-control" required=""
				aria-required="true" placeholder="银行基准利率(必填)" ></td> -->

			<td align="right"><label class="control-label np">实际贷款额：</label></td>
			<td><input id="loanAmount" name="loanAmount" minlength="1"
				maxlength="20" type="number" class="form-control" required=""
				aria-required="true" placeholder="实际贷款额(必填)"></td>
			<td align="right" class="d1 d2"><label class="control-label np">按揭服务费：</label></td>
			<td class="d1 d2"><input id="servicePrice" name="servicePrice" minlength="1"
				maxlength="20" type="number" class="form-control" 
				aria-required="true" placeholder="按揭服务费"></td>
				
		</tr>
	   <tr>
			<td align="right" class="d2 d3"><label class="control-label np">试算公司利率(%)：</label></td>
			<td class="d2 d3"><input id="ccol2" name="ccol2" minlength="1"
				maxlength="20" type="number" class="form-control" 
				aria-required="true" placeholder="试算公司利率(必填)"></td>
				
			<td align="right" class="d2"><label class="control-label np">取整模式：</label></td>
			<td class="d2">
				<select id="ccol1" name="ccol1" class="select-control"></select>
			</td>
		</tr>
		<tr>
			<td align="right" class="d2 d3"><label class="control-label np">签约公司利率(%)：</label></td>
			<td class="d2 d3"><input id="companyRate" name="companyRate" class="form-control" readonly="readonly"></td>
		</tr>
		 <tr class="d1 d2 d3">
			<td align="right"><label class="control-label np">签约贷款额：</label></td>
			<td><input id="signLoanAmount" name="signLoanAmount" class="form-control" 
				aria-required="true" readonly="readonly"></td>

			<td align="right"><label class="control-label np">签约总还款额：</label></td>
			<td><input id="totalRepaymentAmount" name="totalRepaymentAmount"
				class="form-control" 
				readonly="readonly"></td>
		</tr>
		
		<tr>
			<td align="right" class="d1 d2"><label class="control-label np">银行利息：</label></td>
			<td class="d1 d2"><input id="bankRateAmount" name="bankRateAmount"
				class="form-control" aria-required="true"
				readonly="readonly"></td>
				
			<td align="right"><label class="control-label np">签约每月还款额：</label></td>
			<td><input id="amountMonthly"
				name="amountMonthly" class="form-control amountMonthly" readonly="readonly"></td>
			<td align="right" class="d3"><label class="control-label np">签约首月还款额：</label>
			</td>
			<td  class="d3"><input id="firstMonthTotalAmount"
				name="firstMonthTotalAmount" class="form-control"
				aria-required="true" readonly="readonly"></td>
		</tr>
		
		<tr class="d3">
			<td align="right"><label class="control-label np">签约每月本金还款额：</label></td>
			<td><input id="monthlyPrincipalAmount"
				name="monthlyPrincipalAmount" class="form-control" readonly="readonly"></td>
				<td align="right"><label class="control-label np">签约首月本金还款额：</label></td>
			<td><input id="firstMonthAmount" name="firstMonthAmount"
				class="form-control" aria-required="true"
				readonly="readonly"></td>
		</tr>
		<tr class="d3">
			<td align="right"><label class="control-label np">签约每月手续费还款额：</label></td>
			<td><input id="monthlyFee"
				name="monthlyFee" class="form-control" readonly="readonly"></td>
				
			<td align="right"><label class="control-label np">签约首月手续费还款额：</label></td>
			<td><input id="firstMonthFee" name="firstMonthFee"
				class="form-control" aria-required="true"
				readonly="readonly"></td>
		</tr>
		<tr class="d1 d2 d3">
			<td align="right"><label class="control-label np">总还款/车价(%)：</label></td>
			<td><input id="zhkcj" name="zhkcj"
				class="form-control"  aria-required="true"
				readonly="readonly"></td>

			<td align="right"><label class="control-label np">签约贷款额/车价(%)：</label></td>
			<td><input id="qyhkcj"
				name="qyhkcj" class="form-control" readonly="readonly"></td>
		</tr>
		
		<tr class="d1 d2 d3">
			<td align="right" colspan="2">
					<label class="control-label np" style="display:none;color:#FC1515;" id="zhkcj_show">已＞80% 建议调整</label>
			</td>
			<td align="right"  colspan="2">
					<label class="control-label np" style="display:none;color:#FC1515;" id="qyhkcj_show">已＞70% 建议调整</label>
			</td>
		</tr>
		
		<tr class="usedCar">
			<td align="right">
				<label class="control-label np">二手车估价：</label>
			</td>
			<td colspan="5" id="xitongGj">
			</td>
		</tr>	 
		<tr>
			<td colspan="5"><label class="control-label np saveInfo">
					<button class="btn dpbtn_red" type="button" id="saveLoan">按公式计算</button>
			</label>&nbsp;&nbsp;<span id="continuedMonthsWarning" style="display: none; color:#FC1515;">不符合贷款要求，建议调整贷款期</span></td>
		</tr>
		
	</table>
</div>
</form>